<%--
  Created by IntelliJ IDEA.
  User: 86153
  Date: 2023/8/27
  Time: 23:20
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生作业管理系统</title>
    <style>
        #head{
            width: 1400px;
            height: 154px;
            margin-left: 250px;
            background-image: url("head.jpg");
        }
        #guide{
            width: 240px;
            border: grey 1px solid;
            float: left;
        }
        .file{
            width: 230px;
            height: 50px;
            margin-left: 5px;
            margin-top: 10px;
            border: grey 1px solid;
            background-color: mediumslateblue;
        }
        .filehead{
            width: 230px;
            height: 50px;
            margin-left: 5px;
            margin-top: 5px;
            border: grey 1px solid;
            background-color: mediumslateblue;
        }
        a{
            color: white;
            font-size: 26px;
            margin-left: 30px;
            margin-top: 25px;
        }

    </style>

    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

</head>
<body>

<div id="head"></div>
<br>
<span style="float: right;color: grey">欢迎您，${session_person.userName}</span>
<br>
<a href="#" style="color: black;">修改密码</a>
<br><br>
<div id="guide" >
    <c:if test="${session_person.userIdentify==1}">
    <li class="filehead"><a href="common.action?action=index">查看首页</a></li>
    <li class="file"><a href="tea.action?action=list">学生管理</a></li>
    <li class="file"><a href="tea.action?action=goMyTask">任务管理</a></li>
    <li class="file"><a href="common.action?action=self">我的信息</a></li>
    <li class="file"><a href="outLogin">退出系统</a></li>
    </c:if>
    <c:if test="${session_person.userIdentify==0}" >
        <li class="filehead"><a href="common.action?action=index">查看首页</a></li>
        <li class="file"><a href="common">我的任务</a></li>
        <li class="file"><a href="common.action?action=self">我的信息</a></li>
        <li class="file"><a href="outLogin">退出系统</a></li>
    </c:if>

</div>

<jsp:include page="${mainRight=null?'blank.jsp':mainRight}"></jsp:include>

</body>
</html>
